<?php

ini_set('display_errors', 1);
error_reporting(-1);
ini_set('memory_limit', '2048M');
require_once '/data/wwwroot/g_vendor/autoload.php';


$data = [
    'position_id' => 0,
    'position_type' => 0,
    'type_name' => '新媒体-知乎',
    'type_status' => 1,
    'bg_color' => '#AD604A',
    'sort' => 86,
    'position_config' => '',
];
\Biz\model\advertisement\MPositionAdType::insert($data);

//\Biz\model\advertisement\MPositionAdType::update(['sort' => '125'], ['id' => 52]);

var_dump(\Biz\model\advertisement\MPositionAdType::log());